import matplotlib.pyplot as plt
import numpy as np
from scipy import signal

num = np.array([0,12])
den = np.array([1,4,0])
r, p, k = signal.residue(num, den)

print('r=', r)
print('p=', p)
print('k=', k)
